<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>地球</title>
		<style type="text/css">
			body{
				background-color: black;
			}
			#earth{
				margin-left: 150px;
				margin-top: 200px;
				width: 310px;
				height: 310px;
				background-image: url(images/earth.png);
				position: relative;
				animation: earth 10s infinite linear;
				transition: 1s;
			}
			@keyframes earth{
				from{transform: rotate(0deg);}
				to{transform: rotate(360deg);}
			}
			#earth:hover{
				margin-top: 100px;
				animation: earth 1s infinite linear;
			}
			
		</style>
	</head>
	<body> 
		<div id="earth"
			
		</div>
	</body>
</html>
